<?php

use yii\helpers\Html;
use app\common\widgets\MyDetailView;

/* @var $this yii\web\View */
/* @var $model app\models\GkyProfile */

$this->title = $model->name;
$this->params['breadcrumbs'][] = ['label' => 'Gky Profiles', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="gky-profile-view">

    <div class="bg-info" style="width: 100%;height: 80px;border:1px solid #ddd;border-radius: 3px;">
        <p class="text-primary"style=" color: #0066cc;font-size: 20px;margin-left: 10px;">信息一览</p>
        <div style="float: right;">
            <?= Html::a('返回', ['index'], ['class' => 'btn btn-info', 'style' => 'margin-right:10px']) ?>
        </div>
    </div>


    <?=
    MyDetailView::widget([
        'model' => $model,
        'attributes' => [
            //'user_id',
            'name',
            // 'public_email:email',
            'gravatar_email',
//            'weixinid',
            [
                'attribute' => 'qyh_user_id',
                'value' => $model->qyhUser->name . '（' . $model->qyhUser->userid . '）',
            ],
            //'gravatar_id',
//            'location',
//            'website',
//            'bio:ntext',
            'graduate_school',
            'xueli',
            'xuewei',
            'address',
            'tel',
        ],
    ])
    ?>

</div>
